import { HttpClient, HttpServer, WsClient, WsServer } from "tsrpc";
import { ecs } from "../../../core/ecs/ECS";
import { serviceProto as GateServiceProto, ServiceType as GateServiceType } from "../../../tsrpc/shared/protocols/GateServiceProto";
import { serviceProto as AccountServiceProto, ServiceType as AccountServiceType } from "../../../tsrpc/shared/protocols/AccountServiceProto";
import { serviceProto as RoomServiceProto, ServiceType as RoomServiceType } from "../../../tsrpc/shared/protocols/RoomServiceProto";
/** 网关服务器数据 */
@ecs.register('HallModel')
export class HallModelComp extends ecs.Comp {

    ssoArr:Array<string> = [];

    /** 服务管理器 */
    hsHall: HttpServer = null!;
    /**连接到账号服务器 */
    hcAccount:HttpClient<AccountServiceType> = null!;
    /**房间服务器列表 */
    roomServiceList:Array<{name:string, wsc:WsClient<RoomServiceType>}> = new Array();

    reset(): void {
        
    }
}